package com.my.structuraltype.mediator;

public class ConcreteColleagueA extends Colleague {

	public ConcreteColleagueA(Mediator mediator) {
		super(mediator);
	}
	
	//在需要跟其他同事通信的时候，通知调停者对象
	public void opertatoin() {
		System.out.println("ConcreteColleagueA opertation...");
		this.getMediator().change(this);// to notify the mediator that I'm changed
	}
}
